<notempty name="data">
    <volist name="data" id="d" key="k">
        <neq name="d.type" value="1">
            <div class="box padd10 padd-b0 comment-root clear mar-b20 relative" data-timestamp="{$timestamp}">
                <!-- 视频标签 -->
                <notempty name="d.icons">
                    <div class="video-amaze-tips">
                        <volist name="d.icons" id="icon">
                            <img src="{$icon.pic}" alt="{$icon.name}">
                        </volist>
                    </div>
                </notempty>
                <!-- end -->
                <div class="self-detail-top v-align clear">
                    <div class="self-detail-avartor box-radius mar-r10 in-block avartor-bg">
                        <a href="{:U('Others/index', array('uid'=>$d['user']['id']))}">
                            <img class="lazy-img" data-src="{$d.user.avatar|default='__ROOT__/Public/Home/images/avatar.jpg'}" alt="{$d.title}">
                        </a>
                    </div>
                    <div class="self-detail-username in-block">
                        <h2 class="mar-t10">{$d.user.nickname}</h2>
                        <ul class="float-ul ul-col-4 v-align ">
                            <li> <i class="icon icon-time"></i><span>{$d.create_time}</span></li>
                            <li> <i class="icon icon-view"></i><span>{$d.statis.play}</span></li>
                        </ul>
                    </div>
                    <div class="recommend-follow in-block mar-tb10 fr">
                        <eq name="d.user.is_follow" value="0">
                            <div class="btn btn-primary js-follow follow-content-{$d['user']['id']}" data-uid="{$d['user']['id']}">
                                关注
                            </div>
                            <else/>
                            <div class="btn btn-primary js-follow follow-content-{$d['user']['id']} active" data-uid="{$d['user']['id']}">
                                已关注
                            </div>
                        </eq>
                    </div>
                </div>
                <div class="self-detail-con">
                    <h3 class="fs-18 fc-grayer padd-t10">{$d.title}</h3>
                    <div class="self-detail_text fs-14 padd-tb10">{$d.detail}</div>
                    <div class="self-detail-video v-align">
                        <div class="self-detail-show">
                            <div class="jp-jplayer-scroll" data-width="638" data-height="362" data-rool="popPlayer-{$d.id}" data-src="{$d.uri}" data-poster="{$d.thumb}"></div>
                        </div>
                    </div>
                </div>
                <div class="self-detail-bott mar-t10">
                    <ul class="float-ul ul-col-3 v-align padd-tb5 mar-10lr bor-top">
                        <li>
                            <a class="js-like <eq name='d.action.is_zan' value='1'>active </eq>" data-type="1" data-id="{$d.id}">
                                <i class="icon icon-self-like"></i>
                                <span>赞 (<span class="like-num-{$d.id}">{$d.statis.zan|default="0"}</span>)</span>
                            </a>
                        </li>
                        <li>
                            <a href="javascript:void(0)" class="js_show_comment">
                                <i class="icon icon-self-comment"></i>
                                <span>评论 (<span class="comment-num-{$d.id}">{$d.statis.comments|default="0"}</span>)</span>
                            </a>
                        </li>
                        <li>
                            <a href="javascript:void(0)" data-share="{:U('Video/share', array('id'=>$id,pic=>urlencode($d['thumb_large']),title=>$d['title'],desc=>$d['detail']))}" class="js-share">
                                <i class="icon icon-rechange"></i>
                                <span>转发</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="trade-comments-bar clear pop-comments padd10 mar-10lr  bor-top" style="display: none">
                    <form class="comment-form" action="{:U('Video/comments')}" method="post" data-id="{$d.id}">
                        <div class="pop-input ">
                            <textarea type="text" name="comment" class="comment-area-{$d.id}"  onfocus="if(this.value=='评论内容') {this.value='';}" onblur="if(this.value=='') {this.value='评论内容';}" value="评论内容" placeholder="评论内容"></textarea>
                        </div>
                        <input type="hidden" name="vid" value="{$d.id}">
                        <div class="v-align mar-t10 ">
                            <i class="icon icon-smile mar-r10" data-textarea=".comment-area-{$d.id}"></i>
                            <button class="btn-sure btn-send-show btn-lg in-block">发表</button>
                            <a class="js_hide_comment hide-list in-block btn-cancel">取消</a>
                        </div>
                    </form>
                </div>
                <div class="padd-lr10 bor-top mar-10lr comment-pos" style="display:none">
                    <div class="comment-content-{$d.id}  clickAppend ajaxHtml" data-url="{:U('Video/ajaxComment')}" data-vid="{$d.id}" on-finished="imgComment();initFormatImg();">
                        <!--  <notempty name="d.comments">
                <volist name="d.comments" id="comment">
                <include file="Template/comment" />
                </volist>
            </notempty> -->
                        <div class="loading"></div>
                    </div>
                    <div class="fs-14 fc-height mar-t10 padd-lr10 cur readmore" style="display:none">查看更多>></div>
                </div>
            </div>
            <else/>
            <div class="box padd10 padd-b0 comment-root clear mar-b20 relative" data-timestamp="{$timestamp}">
                <!-- 视频标签 -->
                <notempty name="d.icons">
                    <div class="video-amaze-tips">
                        <volist name="d.icons" id="icon">
                            <img src="{$icon.pic}" alt="{$icon.name}">
                        </volist>
                    </div>
                </notempty>
                <!-- end -->
                <div class="self-detail-top v-align clear">
                    <div class="self-detail-avartor box-radius mar-r10 in-block avartor-bg">
                        <img src="{$d.game.pic|default='__ROOT__/Public/Home/images/avatar.jpg'}" alt="{$d.title}">
                    </div>
                    <div class="self-detail-username in-block">
                        <h2 class="mar-t10">{$d.game.name}</h2>
                        <ul class="float-ul ul-col-4 v-align ">
                            <li> <i class="icon icon-time"></i><span>{$d.create_time}</span></li>
                            <li> <i class="icon icon-view"></i><span>{$d.statis.play}</span></li>
                        </ul>
                    </div>
                </div>
                <div class="self-detail-con">
                    <h3 class="fs-18 fc-grayer padd-t10">{$d.title}</h3>
                    <div class="self-detail_text fs-14 padd-tb10">{$d.detail}</div>
                    <a href="{:U('Match/detail?id='.$d['id'])}">
                        <div class="cover vedio-focus-img format-cover cur" style="margin:0">
                            <img class="lazy-img" data-src="{$d.thumb|default='__ROOT__/Public/Home/images/d-cover.jpg'}" alt="{$d.title}">
                        </div>
                    </a>
                </div>
                <div class="self-detail-bott mar-t10">
                    <ul class="float-ul ul-col-3 v-align padd-tb5 mar-10lr bor-top">
                        <li>
                            <a href="javascript:void(0)" class="js_show_comment">
                                <i class="icon icon-self-comment"></i>
                                <span>评论 (<span class="comment-num-{$d.id}">{$d.statis.comments|default="0"}</span>)</span>
                            </a>
                        </li>
                        <li>
                            <a href="javascript:void(0)" data-share="{:U('Video/share', array('id'=>$id,pic=>urlencode($d['thumb_large']),title=>$d['title'],desc=>$d['detail']))}" class="js-share">
                                <i class="icon icon-rechange"></i>
                                <span>转发</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="trade-comments-bar clear pop-comments padd10 mar-10lr  bor-top" style="display: none">
                    <form class="comment-form" action="{:U('Video/comments')}" method="post" data-id="{$d.id}">
                        <div class="pop-input ">
                            <textarea type="text" name="comment" class="comment-area-{$d.id}"  onfocus="if(this.value=='评论内容') {this.value='';}" onblur="if(this.value=='') {this.value='评论内容';}" value="评论内容" placeholder="评论内容"></textarea>
                        </div>
                        <input type="hidden" name="vid" value="{$d.id}">
                        <div class="v-align mar-t10 ">
                            <i class="icon icon-smile mar-r10" data-textarea=".comment-area-{$d.id}"></i>
                            <button class="btn-sure btn-send-show btn-lg in-block">发表</button>
                            <a class="js_hide_comment hide-list in-block btn-cancel">取消</a>
                        </div>
                    </form>
                </div>
                <div class="padd-lr10 bor-top mar-10lr comment-pos" style="display:none">
                    <div class="comment-content-{$d.id}  clickAppend ajaxHtml" data-url="{:U('Video/ajaxComment')}" data-vid="{$d.id}" on-finished="imgComment();initFormatImg();">
                        <!--  <notempty name="d.comments">
                            <volist name="d.comments" id="comment">
                            <include file="Template/comment" />
                            </volist>
                        </notempty> -->
                        <div class="loading"></div>
                    </div>
                    <div class="fs-14 fc-height mar-t10 padd-lr10 cur readmore" style="display:none">查看更多>></div>
                </div>
            </div>
        </neq>
    </volist>
    <else/>
    <eq name="isOthers" value="1">
        <li class="box padd-lr10 padd-tb mar-b20 comment-root clear">
            <div class="clear  ">
                <div class="cover cover-about-img fl cur">
                    <img class="lazy-img" data-src="default" alt="{$d.video.user.nickname}">
                </div>
                <div class="about-title fr">
                    <div class="about-text mar-t20">
                        <h3 class="fs-20  padd-t10">哎呀 TA还没有动态</h3>
                    </div>
                </div>
            </div>
        </li>
        <else />
        <li class="box padd-lr10 padd-tb mar-b20 comment-root clear">
            <div class="clear  ">
                <div class="cover cover-about-img fl cur">
                    <img class="lazy-img" data-src="default" alt="{$d.video.user.nickname}">
                </div>
                <div class="about-title fr">
                    <div class="about-text mar-t20">
                        <h3 class="fs-20  padd-t10">哎呀 没有信息</h3>
                        <div class="self-detail_text fs-14 padd-tb10 about-detail">还没有与你相关的信息哦 快去关注小伙伴交流吧。</div>
                    </div>
                </div>
            </div>
        </li>
    </eq>
</notempty>